package com.iman.sumer.repository;

import java.util.Set;

public interface IRedisGo {

	    public Set<String>    getMapSubAllKeys(String base_suffix );
	    
	    public Set<String>    getMapSubKeys(String base_suffix,String dateStr);
	    
	    
	    public boolean  putList(String key ,String... data);
	    public String   getList(String key );
	    public String   popList(String key );
	    
	    public String   getMap(String mainKey,String subKey);
	    public boolean  putMap(String mainKey,String subKey,String value);
	    public int      incredMap(String mainKey,String subKey,int value );
	    public boolean  removeMap(String mainKey,String subKey);
	    public boolean  setExiperse(String key,int times);
	    
	    
	    public boolean  putKV(String key ,String data);
	    public boolean  putNxKV(String key ,String data);
	    public String   getKV(String key );
	    public String   removeKV(String key );
	    

	    
	    public Set<String>   getSortSet(String key);
	    public boolean       putSortSet(String key,String value);
	    public boolean       putSortSet(String key,String value,long proi);
	    public long          removeSortSet(String key,String... value);
}
